import ${package}.${name};

public interface ${name}Mapper {
    int deleteByPrimaryKey(Long id);
    int insert(${name} record);
    ${name} selectByPrimaryKey(Long id);
    List<${name}> selectAll();
    int updateByPrimaryKey(${name} record);

    int selectForCount(QueryObject qo);

    List<${name}> selectForList(QueryObject qo);
 }